package com.fast.develop.meta.dm.configuration;


import com.fast.develop.meta.base.MetaConfiguration;
import com.fast.develop.meta.dm.MetaDomainRegistor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MetaAutoConfiguration {


    @Bean
    public MetaConfiguration metaConfiguration(){
        MetaConfiguration metaConfiguration = new MetaConfiguration();
        metaConfiguration.register(new MetaDomainRegistor());

        metaConfiguration.build();
        return metaConfiguration;
    }
}
